package fr.toto.menuitem;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JMenuItem;

import fr.toto.constantes.Constantes;
import fr.toto.settings.SettingsUI;

public class EditPropertiesMenuItem extends JMenuItem implements Constantes {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5590327687290980540L;

	/**
	 * 
	 */
	public EditPropertiesMenuItem() {
		super(MESSAGES.getString("PropertiesMI"));

		this.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				
				new SettingsUI();
				//new Thread(Settings.editProperties()).start();
				
				//AccesFile.Open(SETTINGSPATH);
			}
		});
	}

}
